<?
/***********************************************************************/
/*                                                                     */
/*  This file is created by deZender                                   */
/*                                                                     */
/*  deZender (Decoder for Zend Encoder/SafeGuard):                     */
/*    Version:      0.9.3.0                                            */
/*    Author:       qinvent.com                                        */
/*    Release on:   2005.11.12                                         */
/*                                                                     */
/***********************************************************************/


  $listings = array ();
  $q = 'select * from hl_groups where status = 1 and reg_enabled = 1';
  ($sth = mysql_query ($q) OR print mysql_error ());
  while ($row = mysql_fetch_array ($sth)) {
    array_push ($listings, $row);
  }

  $smarty->assign ('groups', $listings);
  $smarty->display ('add_banner.tpl');
?>
